<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>注册</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">

	<link href="css/style.css" rel="stylesheet" type="text/css" />

  </head>
  
<body>
<div id="mainblock">
    <div id="toppanel">
    <div class="fp_menutile"> 
    <a href="index.html" class="menu1">首页</a> <img src="images/tp_divider.gif" alt="" class="tp_divider" />
    <a href="#" class="menu2">发布房屋</a> <img src=    
"images/tp_divider.gif" alt="" class="tp_divider" />
    <a href="#" class="menu2">收藏夹</a> <img src="images/tp_divider.gif" alt="" class="tp_divider" /> 
    <a href="#" class="menu2">我的给力租</a> <img src="images/tp_divider.gif" alt="" class="tp_divider" /> 
    <a href="#" class="menu2">搜索</a> <img src="images/tp_divider.gif" alt="" class="tp_divider" /> 
    <a href="#" class="menu2">管理中心</a> <img src="images/tp_divider.gif" alt="" class="tp_divider" /> 
    <a href="#" class="menu2"> 联系我们</a> </div>
    <div class="tp_heading"><img src="images/geilizu.jpg" width="192" height="90" alt="" class="logo_image" 
    />
    <div class="tp_reg_txt">注册</div>
    </div> 
    </div>
  <div id="line">
    </div>
    <div class="reg_help">
    <p><span class="one">准备好注册给力租了么</span></p>
    <p><br/>
      <span>通过以下步骤你可以快速获得一个给力租账号。</span><br/>
      <span>什么？已经有了账号，从这里</span><a href="login.html">登录</a></p>    
    </div>
    <div id="registertitle">
    <p><span class="two">填写你的信息</span>
    <span class="three">所有选项为必填</span></p>
    </div>
    <div id="registerblock">
        <div class="regblock"> 
        <form id="register" name="register"action="register.do" method="post" class="">    
        <div>
        <label for="name">用户名：</label>
        <input type="text" name="username" onblur="checkUserExists(this)"/> </div>
        <div>
        <label for="passwd">密码：</label>
        <input type="password" name="password" /></div>
        <div>
        <label for="cf_passwd">确认密码：</label>
        <input type="password" name="passwordconfirm" /></div>
        <div>
        <label for="lastname">姓：</label>
        <input type="text" name="lastname" /> </div>
        <div>
        <label for="firstname">名：</label>
        <input type="text" name="firstname" /> </div>
        <div>
        <label for="email">邮箱地址：</label>
        <input type="text" name="email" /></div> 
        <div>
        <label for="idtype">证件类型：</label>
        <select name="idtype" />
          <option value="0" selected="selected">身份证</option>
          <option value="1">护照</option>
        </select></div>
        <div>
        <label for="idnumber">证件号码：</label>
        <input type="text" name="idnumber" /></div>
        <div>
        <label for="submitBtn" ></label>
        <input type="submit" name="submitBtn" value="注册" class="rg_btn1"/></div>       
        </form>
        </div>
    </div>
</div>
</body>
</html>
